package com.dsp.cart.service;

import com.dsp.cart.client.dto.OrderDTO;
import com.dsp.cart.dto.CartDTO;
import com.dsp.cart.entity.Cart;

import java.util.List;

public interface CartService {

    List<Cart> findAll();

    Object submitOrder(CartDTO cartDTO);

    OrderDTO submitOrderException(CartDTO cartDTO);
}
